<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<WebMVC.Models.ProductListItemViewModel>>" %>
<%@ Import Namespace="WebMVC.Models" %>
<asp:Content ID="meta" ContentPlaceHolderID="HeadContent" runat="server">
	<meta name="keywords" content="<%=ViewResources.MetaStrings.ProductPageMetaKeywords %>"/>
	<meta name="description" content="<%=ViewResources.MetaStrings.ProductPageMetaDescription %>" />
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server"><%= ViewResources.MetaStrings.ProductPageTitle %></asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div id="main">
    <h2><%=ViewResources.HomeStrings.ProductsHeader%></h2>
    <div class="breadcrumb"><img src="/Content/breadcrumb.gif" alt="breadcrumb"/></div>
    <div class="thick-border">
        <div class="white-box">
            <%foreach(var m in Model)
              {%>
                <div class="product-item">
                <h3><%=m.Name %></h3>
                <img src="<%=m.ImgPath %>" alt="<%=m.Name %>" />
                <em><%=ViewResources.ProductStrings.PriceBlockFrom%></em>
                <span class="big-price-block"><em class="big-price"><%= m.ReferencePrice.ToString("N0",System.Globalization.CultureInfo.InvariantCulture) +ViewResources.SharedStrings.DramCurrency %></em><br /><em ><%=String.Format(ViewResources.ProductStrings.PriceBlockQty,m.ReferenceQuantity)%></em></span>
            </div>
            <%} %>


            <p class="dislaimer-text" ><%=ViewResources.HomeStrings.PriceAndCurrencyDisclaimer %></p>
        </div>
    </div>
        
</div>
<div id="navpanel">
        <% Html.RenderPartial("ProductNavControl"); %>
        <% Html.RenderAction("PriceCalculatorNavControl", "Product"); %>
        
        <% Html.RenderAction("NewsNavControl","Home"); %>
        <% Html.RenderAction("SpecialOffersNavControl","Home"); %>
</div>     
</asp:Content>
